
import java.text.SimpleDateFormat;
import java.util.Date;
import org.apache.derby.impl.tools.sysinfo.Main;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Alexandre
 */
public class Teste {
    Date date = new Date();
    
    
    public void exibirData(){
        SimpleDateFormat df = new SimpleDateFormat("dd/MM/yyyy");       
        System.out.println("Data: " + df.format(date));
    }
    public static void main(String[] args) {
        Teste t = new Teste();
       t.exibirData();
        
    }
}
